home *** CD-ROM | disk | FTP | other *** search
/ New Masters of Flash / New Masters of Flash.iso / pc / MOVIES / 15.dir / 00131_Text_text10.txt < prev    next >
Text File  |  2000-10-01  |  944b  |  12 lines

  1. Now we need each frame of Menu Item to contain a title, in a Set Variable action, that will set the text field title (inside the first button that we made) to display whatever title we specify. HereΓÇÖs an example:
  2.  
  3. title = getProperty (ΓÇ£ΓÇ¥,_name) add ΓÇ£---EfudexΓÇ¥ ;
  4.  
  5. Which means, ΓÇ£tell the text field, title, to display this timelineΓÇÖs current frame and whatever title we specify. So when the movie is exported, the menu item with the instance name 1 would have a button that reads 1---Efudex. Similarly, the menu item, 2, would read  2---Plendil. Frame 2 is identical, just with a different title:
  6.  
  7. title = getProperty (ΓÇ£ΓÇ¥,_name) add ΓÇ£---PlendilΓÇ¥;
  8.  
  9.  
  10. So, if we want ten menu items, we would have ten different Set Variable actions telling the button what to say. When the movie is exported, the menu item instance name 1 would have a button that reads 1---Efudex. Similarly menu item, 2, would read 2----Plendil.
  11.  
  12.